<!DOCTYPE html>
<html lang="en">
<head>
	<title>Document</title>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0">
	<link rel="stylesheet" type="text/css" href="common/css/common.css">
	<script type="text/javascript" src="common/js/init.js"></script>
	<script src="common/js/jquery.min.js" charset="utf-8"></script>
   <script>
    var _hmt = _hmt || [],
    _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://"),
    pageURL=document.location.pathname+document.location.search;
    //set account
    _hmt.push(['_setAccount', '0123456789ABCDEF0123456789ABCDEF']);
    document.write(unescape("%3Cscript src='" + _bdhmProtocol + 
"hm.baidu.com/h.js%3F01234567890ABCDEF01234567890ABCDEF' type='text/javascript'%3E%3C/script%3E"));
    //pv set
	_hmt.push(['_trackPageview', pageURL]);

    $(".lnStatistics").click(function(){
    	var curele = $(this),
    	uvdata={
    		category: curele.data("category")||"-",
    		action: curele.data("action")||"-",
    		opt_label: curele.data("opt_label")||"-",
    		opt_value: curele.data("opt_value")||"-"
    	};
    	//uv trach
    	_hmt.push(['_trackEvent', uvdata.category, uvdata.action, uvdata.opt_label, uvdata.opt_value]);
    })
    </script>
</head>
<body>
	<a href="#" class="lnStatistics" data-category="header" data-action="test">测试统计事件</a>
	<!-- header strat -->
	<div class="head">
		<a class="logo home" href="javascript:;"></a>
	</div>
	<!-- header end -->
	
</body>
</html>
